package vip.liux.backend.application.service.gen;

import vip.liux.application.dots.ListResultDto;
import vip.liux.application.dots.PagedResultDto;
import vip.liux.application.dots.PagedResultRequestDto;
import vip.liux.backend.domain.models.gen.GenTable;

import java.util.List;
import java.util.Map;

public interface GenTableService  {
    void sync(Long databaseId);

    void syncDb(List<String> tableNames);

    PagedResultDto<GenTable> pageList(PagedResultRequestDto input);

    GenTable detail(Long id);

    void delete(Long id);

    ListResultDto<GenTable> list();

    Map<String, String> preview(Long tableId);
}
